Energey transfer in electrical systems